package com.yc.chaoshi.cs_manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.chaoshi.entity.UmsResource;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
public interface UmsResourceMapper extends BaseMapper<UmsResource> {


    List<UmsResource> listAll(Integer pageNum, Integer pageSize, String sreachname, String sreachurl);

    List<UmsResource> listByid(Integer roleid);

    List<UmsResource> listResource(Integer pageNum, Integer pageSize, String sreachname, String sreachurl, Integer roleid);
}
